﻿#region 命名空间

using System;
using WinnerCMS.BLL;
using WinnerCMS.Common;

#endregion

namespace WinnerCMS.WebUI.Templates.WinnerCMS6.Member
{
    public partial class Agreement : WebFactory.ClientPublicPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            var config = CMSConfig.Instance();
            if (config.Member.IsReg == false)
            {
                ErrClass.IndexErrRedirect("对不起。管理员已经关闭了会员注册！");
            }
        }
    }
}